import java.util.Random;

public class cxc {
    public static void main(String[] args) {
        short m, n, ov;
        char o;
        Random random = new Random();
        for (int i = 0; i < 50; i++) {
            ov = (short) random.nextInt(2);
            m = (short) random.nextInt(101);
            n = (short) random.nextInt(101);
            if (ov == 1) {
                o = '+';

            } else {
                o = '-';
            }
            System.out.println((i + 1) + "\t" + m + o + n + "=");
        }
    }
}


